#include<bits/stdc++.h>

using namespace std;

int main() {

    char s[100] = "apple";
    char t[100] = "aaaaaaaaa";

    //t=s;
//	for(int i=0;i<=strlen(s);i++){
//		t[i]=s[i];
//	}
    int i = 0, j = 0;
    while (t[j++] = s[i++]);
    cout << t;


    return 0;
}
